package com.yonyou.pmclouds.safetyrectification.assignrecord.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * 安全整改-交办记录类
 *
 * @author tanghuan
 * @date 2019/10/24
 */
@Table(name = "pm_safety_assign_record")
@Data
public class AssignRecordVO extends SuperVO {

    public static final String ASSIGN_USER = "assignUser";
    public static final String ASSIGN_USER_NAME = "assignPersonName";

    @Id
    private String pkAssignRecord;
    private String pkProject;
    private String srcBillType;
    /**
     * 被交办人
     */
    private String assignUser;
    private String pkBill;
    private String creator;
    private Date creationtime;
    private Date lastBillTime;
    private Date thisBillTime;

    @Transient
    private String assignPersonName;
    /**
     * 安全整改制单人
     */
    @Transient
    private String safetyRectifyCreator;
    @Transient
    private String safetyRectifyCreatorName;
}
